package com.it.constants;

import org.apache.hadoop.conf.Configuration;
import org.apache.hadoop.hbase.HBaseConfiguration;
import org.apache.hadoop.hbase.util.Bytes;

/**
 * @author : code1997
 * @date :2021-02-2021/2/4 21:27
 */
public class Constants {

    public static final Configuration CONFIGURATION = HBaseConfiguration.create();

    public static final String NAMESPACE = "weibo";

    public static final String TABLE_CONTENT = "weibo:content";
    public static final String TABLE_CONTENT_CF = "info";
    public static final int TABLE_CONTENT_VERSION = 1;

    public static final String TABLE_RELATIONS = "weibo:relation";
    public static final String TABLE_RELATIONS_CF1 = "attends";
    public static final String TABLE_RELATIONS_CF2 = "fans";
    public static final int TABLE_RELATIONS_VERSION = 1;

    public static final String TABLE_INBOX = "weibo:inbox";
    public static final String TABLE_INBOX_CF = "info";
    public static final int TABLE_INBOX_VERSION = 2;

    public static final Long MAX_TIME = 9999999999999L;


}
